import { defineStore } from 'pinia'
// import { locGet, locSet } from '@/utils/common'
import type { conditionState } from './types/condition'

export const conditionStore = defineStore('conditionStore', {
  state: (): conditionState => ({
    isVisible: false,
    formData: {},
    formList: [],
  }),
  actions: {},
  getters: {
    // curryNav: (state) => menuArr[state.navKey] ?? menuArr.dataManagement,
    breadcrumbData(state) {},
  },
})
